package com.zmn.oms.dubbo.dto.zmn.order.user;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @description: 多用户工单列表
 * @author: SongWeidong
 * @create: 2020-10-14
 **/
@Data
public class UserListOrderQueryDIO implements Serializable {


    /**
     * 用户Id
     */
    @NotEmpty(message = "用户Id列表不能为空")
    private List<Long> userIdList;

    /**
     * 工单状态
     */
    @NotEmpty(message = "工单状态不能为空")
    private List<Integer> statusList;

    /**
     * 平台
     */
    @NotEmpty(message = "平台不能为空")
    private Integer plat;

    /**
     * 多少页
     */
    @NotNull
    private Integer pageIndex;

    /**
     * 分页条数
     */
    @Min(value = 1)
    @Max(value = 100)
    private Integer pageSize;


}
